// 自动生成模板DeviceType
package DeviceType

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// DeviceType 结构体
type DeviceType struct {
	global.GVA_MODEL
	TypeName        string `json:"typeName" form:"typeName" gorm:"column:type_name;comment:设备名称;size:30;"`
	TypeDescription string `json:"typeDescription" form:"typeDescription" gorm:"column:type_description;comment:设备描述;size:150;"`
	AddTime         string `json:"addTime" form:"addTime" gorm:"column:add_time;comment:创建时间;size:191;"`
	UpdTime         string `json:"updTime" form:"updTime" gorm:"column:upd_time;comment:更新时间;size:191;"`
	DelTime         string `json:"delTime" form:"delTime" gorm:"column:del_time;comment:删除时间;size:191;"`
}

// TableName DeviceType 表名
func (DeviceType) TableName() string {
	return "device_type"
}
